@After
public void afterTest(){
  ...
  recoveryDB();
}
protected void recoveryDB(){...